package com.atlin.project.bizmq.bi;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import static com.atlin.project.bizmq.bi.BiMqConstants.BI_QUEUE_NAME;

/**
 * 项目启动创建队列
 */
@Configuration
public class RabbitMQConfig {

    @Bean
    public Queue bbeaconsChartQueue() {
        return new Queue(BI_QUEUE_NAME, true);
    }
}
